package test_new;

public class Add extends AbstactOperation{
	
//	int i = methodAdd("i");
	
	{
		System.out.println("Add{}");
	}
	
//	int j = methodAdd("j");
	
	static int k = methodAdd("k");
	
	static {
		System.out.println("Static Add{}");
	}
	
	public Add(){
		super(true);
		System.out.println("Add constructor");
	}
	
	public static int methodAdd(String param) {
		System.out.println("The number is " + param);
		return 0;
	}

	public double execute(double a, double b) {
		return a+b;
	}

	public String getName() {
		return "Summa";
	}

	
}
